<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .pkbox {
            width: 200px;
            height: 300px;
            position: relative;
            margin: 300px auto;
        }
        .pkbox img {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            transition: transform 2s;
            transform-origin: left top;
        }
        .pkbox:hover img:nth-child(1) {
            transform: rotate(60deg);
        }
        .pkbox:hover img:nth-child(2) {
            transform: rotate(120deg);
        }
        .pkbox:hover img:nth-child(3) {
            transform: rotate(180deg);
        }
        .pkbox:hover img:nth-child(4) {
            transform: rotate(240deg);
        }
        .pkbox:hover img:nth-child(5) {
            transform: rotate(300deg);
        }
        .pkbox:hover img:nth-child(6) {
            transform: rotate(360deg);
        }
    </style>
</head>
<body>
    <div class='pkbox'>
        <img src="pk1.png" alt="">
        <img src="pk1.png" alt="">
        <img src="pk1.png" alt="">
        <img src="pk1.png" alt="">
        <img src="pk1.png" alt="">
        <img src="pk1.png" alt="">
    </div>
</body>
</html>